﻿@section header
{
    <link href="~/Themes/RongJi/Style/base/css/login.css" rel="stylesheet">
}
@section title
{
    找回密码方式
}
<div class="main-wrapper">
    @if (Model.UserInfo != null)
    {
        if (!string.IsNullOrEmpty(Model.UserInfo.Email))
        {
            <a href=@("FindPasswordByEmail?"+ Request.QueryString.ToString()) class="byEmail">
                <span>通过邮箱找回</span>
                <span>发送邮件至 @(Model.UserInfo.Email.Substring(0, 2) + "..." + Model.UserInfo.Email.Substring(Model.UserInfo.Email.IndexOf("@") - 2))</span>
            </a>
        }
        if (!string.IsNullOrEmpty(Model.UserInfo.CellPhone))
        {
            <a href=@("FindPasswordByPhone?"+ Request.QueryString.ToString()) class="byPhone">
                <span>通过手机找回</span>
                <span>发送短信验证码到 @(Model.UserInfo.CellPhone.Substring(0, 3) + "-----" + Model.UserInfo.CellPhone.Substring(Model.UserInfo.CellPhone.Length - 3, 3))</span>
            </a>
        }
    }
</div>
